3. processing and sorting machine generic device integration 3

因此,我们成功地将提取站与通用设备集成。
So we managed to successfully integrated the extraction station with the generic devices.

现在让我们继续讨论灾难中的灾难。
Now let's move on to the devastation in the devastation.

我们正在使用两台设备。
We are using two devices.

一种是夹具,一种是杠杆。
One is the griper and one is the lever.

那么继续,当我们开始执行机器时,我们首先需要有杠杆装置。
So moving on, we shall need first when we start the execution of the machine, we should need to have the lever device that.

启用通用设备为真,因为我们需要启用该设备。
Enable generic device to truth because we need to enable the device.

水平仪夹具也是如此,因此我们将再次复制并粘贴这个右侧的水平仪夹具设备。
The same goes for the level gripper, so we'll copy and paste this right level gripper device again.

好的,那么。
OK, so.

现在,我们需要向左移动控制杆。
Right now, we need to move the lever left.

而且,如果不是水平夹具,我们将禁用它,因此当我们可以在开始时执行此操作时,右侧水平夹具设备会出现该设备并等于力,以确保禁用夹具,然后这里实际上执行向左的移动,这意味着我们也需要禁用该设备。
And also, we shall disable if it isn't the level griper, so when we can do it here as at the start right level gripper device, that device come and equal the force in order to be sure to have the gripper disabled and then here actually carry out the movement to the left, which means that we need to disable the device as well.

所以我会删除这个。
So I will remove this.

我将编写该设备可以并且应该等于力的任何设备,直到杠杆设备被禁用。
I will write whatever device that device can and should be equal to force until the lever device is disabled.

因此,我将编写设备状态等于禁用的任何设备。
So I will write whatever device that device state equal to disabled.

这样,杠杆应向左移动,直到到达传感器。
In this way, the lever should move left until it reaches the sensor.

这与以其他方式做的事情完全相同。
And this was quite the same of doing that in the other way.

那么我们应该在这里等待。
Then here we should wait for.

产品,我们需要为电梯上拿起产品的人准备好产品,在这里我们正在研究电梯按钮传感器,我们实际上需要做的不再是电梯按钮传感器,而是电梯设备其状态设备状态应等于禁用,这意味着电梯处于下行状态。
The product and we need the product ready for whoever pick up the product on the elevator, and here we are looking at the elevator button sensor and what do we need to do actually is no longer look to the elevator button sensor, to the elevator device that should have a state device state equal to disabled, meaning that the elevator is down.

通过这种方式,这将从电梯站进行管理,但我们将使用它来确保电梯已下降,然后我们不再与传感器交互。
In this way, this will be managed from the elevator station, but we will be sure that the elevator is down using this and we are no longer interacting with sensors, then.

我们需要首先启用该组。
We need to first enable the group.

对于这种通用设备原理,这应该在两种不同的状态下完成,因此这会发生一些变化。
This should be done in two different states for the for this generic device philosophy, so this will change a little.

所以我会写状态 30,然后写状态 40,而不是 40。
So I will write state 30 and then state 40 instead 40.

历史学家说是30。
Historians say 30.

我们需要启用抓手。
We need to enable the griper.

因此,在状态 40 中,我们需要移动 Liveright。
So and in state 40, we will need to move the Liveright.

好的。
OK.

所以我们就在水平夹具那里。
So here we were right there at the level griper.

该设备、该设备的摄像头应该变得等于颤音。
That the device, that device cameras should become equal to trilled.

和。
And.

我们需要等到设备状态等于启用的杠杆修复设备,然后我们将移动到等于 40 的状态。
We will need to wait until the lever repair device that I not that device state is equal to enabled, then we will move to state equal to 40.

在与我们将做类似的事情,但对于劳动运动,所以副命令应该控制的杠杆设备和杠杆设备,该设备状态应该等于启用,以便检查新的移动命令状态。
In a with the we will do a similar thing, but for the labor movement, so the lever device that the vice command should be control and the lever device, that device state should be equal to enabled in order to check the move order a new state.

然后我们还需要另一个状态来禁用夹具,因为我们将其作为设备来处理。
Then we will need also another state to disable the gripper because we are handling it as a device.

所以忘记状态吧。
So forget the state.

50 个州,其中 50 个州将是我们释放抓手的州。
50 states, 50 will be the one in which we release the gripper.

因此,释放夹具,我们需要一个杠杆夹具,实际上我们可以复制它。
So release the gripper and we need a lever gripper that actually we can copy this.

我们将复制这个。
We will copy this.

释放意味着设备可以并且将会等于力并且设备状态将等于此。
And the release means that the device can and will be equal to force and the device state will be equal to this.

我们将等待状态等于禁用。
We will wait for the state equal to disabled.

完成此操作后,我们实际上可以将控制杆移回左侧。
Then when we have done this, we can actually move the lever back on the left.

我们可以回到规定时间。
And we can get back to state time.

好的,这很好,然后我们需要在按下紧急按钮时管理停止和紧急情况,我们需要禁用所有内容,以便在我们移动到零时实际上可以禁用设备。
OK, this is good, then we need to manage the stop and the emergency when the emergency is pressed, we need to disable everything so we can actually disable the device while we are moving to zero.

因此,启用通用设备的水平抓手设备应等于跌落。
So level griper devices that enable generic device should be equal to falls.

和杠杆设备一样,不启用通用设备应该等于 false。
And the lever device, again, not enable generic device should be equal to false.

然后我们需要做的另一件事是当我们按下停止键时。
Then the other thing that we need to do is when we press stop.

我们肯定需要这样做。
We need surely to.

禁用夹具。
Disable the gripper.

所以我要到达的肯定是杠杆夹持器装置,该装置可以而且应该等于力,并且我们需要拥有。
So what I will arrive here is surely that the lever gripper device, that device can and should be equal to force and we will need to have.

当然,为了确保机械师停止工作,我们需要有工作组设备,该设备状态为禁用,并且我们需要彼此将杠杆向左或向右,完全向左或向右完全正确。
Surely in order to be sure that the machinist that the station is stopped, we need surely to have the labor group device, that device state to be disabled, and we will need each other for the lever to be left or right, completely left or completely right.

所以在这里我们将等待一个杠杆设备,该设备状态等于。
So here we will wait for a lever device, that device state equal to.

禁用或智能设备,该设备状态等于启用,我们会在这里找到一些括号,因为我们需要这个条件和这两个条件之一,如果正确发生,我们将回到状态零,并带有实际的抱歉在这里,对于实际的两个设备,我们肯定会禁用夹具设备,并且禁用或启用水平设备。
Disabled or clever device, that device state equal to enabled, and we will find a few brackets here because we need this condition and one of these two and if this happens correctly, we will get back to states zero with the with the actual sorry to here with the actual both devices, we will have the surely the gripper device disabled and the level device either disabled or enabled.

这正是我们想要的。
That is exactly what we want.

好的。
OK.

然后。
Then.

在此之后,我们就完成了。
After this, we are done.

我们现在无法对此进行测试,因为为了测试它,我们需要电梯设备处于 Decebal 状态。
We cannot test this right now because in order to test it, we will need the elevator device to be in the Decebal state.

所以现在,我们还没有乘坐电梯站代码。
So and right now, we haven't rode the elevator station code yet.

所以我们需要这个代码。
So we will need this code for that.

因此,我们将推迟使用通用设备方法对车站设备进行测试,直到我们将开发电梯站的下一个视频。
So we will postpone the test for the device for the station with the generic device approach until the next video on which we will either develop the elevator station.